﻿using CoreModule;
using MathNet.Numerics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IdResourceModule
{
    /// <summary>
    /// 
    /// </summary>
    public static class PressureLevelExtension
    {
        public static List<KeyValuePair<string, PressureLevel>> PressureLevelItemsSource
        {
            get
            {
                var instance=WPFLocalizeExtension.Engine.LocalizeDictionary.Instance;

                var string_Noraml = instance.GetLocalizedObject("String_Noraml", null, null) + "";
                var string_Mild_High = instance.GetLocalizedObject("String_Mild_High", null, null) + "";

                var string_Moderate_High= instance.GetLocalizedObject("String_Moderate_High", null, null) + "";

                var string_Heavy_High= instance.GetLocalizedObject("String_Heavy_High", null, null) + "";

                var string_ISH = instance.GetLocalizedObject("String_ISH", null, null) + "";


          

                return new List<KeyValuePair<string, PressureLevel>>()
                {
                    new KeyValuePair<string, PressureLevel>(string_Noraml, PressureLevel.Normal),
                    new KeyValuePair<string, PressureLevel>(string_Mild_High, PressureLevel.High1),
                    new KeyValuePair<string, PressureLevel>(string_Moderate_High, PressureLevel.High2),
                    new KeyValuePair<string, PressureLevel>(string_Heavy_High, PressureLevel.High3),
                    new KeyValuePair<string, PressureLevel>(string_ISH, PressureLevel.JustHigh),
                };
            }
        }
    }
}
